﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.Base_Manage
{
    /// <summary>
    /// Base_InterfaceOption
    /// </summary>
    [Table("Base_InterfaceOption")]
    public class Base_InterfaceOption
    {

        /// <summary>
        /// ID
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人ID
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public Boolean Deleted { get; set; }

        /// <summary>
        /// 部门ID
        /// </summary>
        public String DepartmentId { get; set; }

        /// <summary>
        /// 接口名称
        /// </summary>
        public String Name { get; set; }
       

        /// <summary>
        /// 源数据链接
        /// </summary>
        public String SourceLink { get; set; }

        /// <summary>
        /// 源数据
        /// </summary>
        public String SourceData { get; set; }

        /// <summary>
        /// 目标Url
        /// </summary>
        public String TargetUrl { get; set; }

        /// <summary>
        /// 目标Token
        /// </summary>
        public String TargetToken { get; set; }

        /// <summary>
        /// 目标登录数据
        /// </summary>
        public String TargetLoginData { get; set; }

        /// <summary>
        /// 启用Y/N
        /// </summary>
        public String IsEnable { get; set; }

        /// <summary>
        /// 执行间隔/分钟
        /// </summary>
        public  int ExcInterval { get; set; }

        /// <summary>
        /// 接口类型
        /// </summary>
        public String InterfaceType { get; set; }

        /// <summary>
        /// 操作类型
        /// </summary>
        public String OperateType { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public String Notes { get; set; }

    }
}